package com.etone.smartAudit.dto.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author: sovy
 * @date: 2020-06-06 13:18:00
 * @description:
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@ApiModel(description = "管理员查询搜索条件")
public class FindAdminDTO implements Serializable {

    @ApiModelProperty("关键字（用户名，企业名称）")
    private String keys;

    @ApiModelProperty("用户名称")
    private String nickName;

    @ApiModelProperty("角色id")
    private Integer roleId;

    @ApiModelProperty("角色编码")
    private List<String> roleCodes;

    @ApiModelProperty("创建时间：开始时间")
    private Date startTime;

    @ApiModelProperty("创建时间：结算时间")
    private Date endTime;
}
